package com.chenyun.common.enums.commom;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 管理员类型枚举
 *
 * @author: Lonni
 * @date: 2023/3/28 0028 9:48
 */
@Getter
public enum AdminTypeEnum {

    /**
     * 平台
     */
    PLATFORM(0, "平台端"),
    /**
     * 商家端
     */
    SHOP(1, "商家端"),
    ;

    @EnumValue
    private Integer adminType;
    @JsonValue
    private String adminTypeName;


    AdminTypeEnum(Integer type, String name) {
        this.adminType = type;
        this.adminTypeName = name;
    }


}
